<div class="sidebar" id="sidebar">
  <script type="text/javascript">
    try {
      ace.settings.check('sidebar', 'fixed')
    } catch (e) {
    }
  </script>

  <div class="sidebar-shortcuts" id="sidebar-shortcuts">
    <div class="sidebar-shortcuts-large" id="sidebar-shortcuts-large">
      <button class="btn btn-success">
        <i class="icon-signal"></i>
      </button>

      <button class="btn btn-info">
        <i class="icon-pencil"></i>
      </button>

      <button class="btn btn-warning">
        <i class="icon-group"></i>
      </button>

      <button class="btn btn-danger">
        <i class="icon-cogs"></i>
      </button>
    </div>

    <div class="sidebar-shortcuts-mini" id="sidebar-shortcuts-mini">
      <span class="btn btn-success"></span>

      <span class="btn btn-info"></span>

      <span class="btn btn-warning"></span>

      <span class="btn btn-danger"></span>
    </div>
  </div><!-- #sidebar-shortcuts -->

  <ul class="nav nav-list">
    <li class="active">
      <a href="index.html">
        <i class="icon-dashboard"></i>
        <span class="menu-text"> 控制台 </span>
      </a>
    </li>


    <li {{if G.url[1]=="manage"}} class="active open" {{/if}}>
      <a href="#" class="dropdown-toggle">
        <i class="icon-user-md"></i>
        <span class="menu-text"> 管理员管理 </span>

        <b class="arrow icon-angle-down"></b>
      </a>

      <ul class="submenu">
        <li {{if !G.url[2]}} class="active" {{/if}}>
          <a href="{{__HOST__}}/admin/manage/">
            <i class="icon-double-angle-right"></i>
            管理员列表
          </a>
        </li>

        <li {{if G.url[2]=="add"}} class="active" {{/if}}>
          <a href="{{__HOST__}}/admin/manage/add">
            <i class="icon-double-angle-right"></i>
            增加管理员
          </a>
        </li>


      </ul>
    </li>

    <li>
      <a href="#" class="dropdown-toggle">
        <i class="icon-list"></i>
        <span class="menu-text"> 分类管理 </span>

        <b class="arrow icon-angle-down"></b>
      </a>

      <ul class="submenu">
        <li>
          <a href="tables.html">
            <i class="icon-double-angle-right"></i>
            分类列表
          </a>
        </li>

        <li>
          <a href="jqgrid.html">
            <i class="icon-double-angle-right"></i>
            增加分类
          </a>
        </li>
      </ul>
    </li>

    <li>
      <a href="#" class="dropdown-toggle">
        <i class="icon-edit"></i>
        <span class="menu-text"> 内容管理 </span>

        <b class="arrow icon-angle-down"></b>
      </a>

      <ul class="submenu">
        <li>
          <a href="form-elements.html">
            <i class="icon-double-angle-right"></i>
            内容列表
          </a>
        </li>

        <li>
          <a href="form-wizard.html">
            <i class="icon-double-angle-right"></i>
            增加内容
          </a>
        </li>

      </ul>
    </li>


    <li>
      <a href="#" class="dropdown-toggle">
        <i class="icon-picture"></i>
        <span class="menu-text"> 轮播图管理 </span>

        <b class="arrow icon-angle-down"></b>
      </a>

      <ul class="submenu">
        <li>
          <a href="#">
            <i class="icon-double-angle-right"></i>
            轮播图列表
          </a>
        </li>

        <li>
          <a href="#">
            <i class="icon-double-angle-right"></i>
            增加轮播图
          </a>
        </li>


      </ul>
    </li>

    <li>
      <a href="#" class="dropdown-toggle">
        <i class="icon-paperclip"></i>

        <span class="menu-text">
									友情链接管理
									<span class="badge badge-primary ">5</span>
								</span>

        <b class="arrow icon-angle-down"></b>
      </a>

      <ul class="submenu">
        <li>
          <a href="#">
            <i class="icon-double-angle-right"></i>
            友情链接列表
          </a>
        </li>

        <li>
          <a href="#">
            <i class="icon-double-angle-right"></i>
            增加友情链接
          </a>
        </li>
      </ul>


    </li>

    <li>
      <a href="#" class="dropdown-toggle">
        <i class="icon-list-alt"></i>

        <span class="menu-text">
									导航管理
									<span class="badge badge-primary ">5</span>
								</span>

        <b class="arrow icon-angle-down"></b>
      </a>

      <ul class="submenu">
        <li>
          <a href="#">
            <i class="icon-double-angle-right"></i>
            增加导航
          </a>
        </li>
        <li>
          <a href="#">
            <i class="icon-double-angle-right"></i>
            导航列表
          </a>
        </li>
      </ul>


    </li>


    <li>
      <a href="index.html">
        <i class="icon-cog"></i>
        <span class="menu-text"> 系统设置 </span>
      </a>
    </li>

  </ul><!-- /.nav-list -->

  <div class="sidebar-collapse" id="sidebar-collapse">
    <i class="icon-double-angle-left" data-icon1="icon-double-angle-left" data-icon2="icon-double-angle-right"></i>
  </div>

  <script type="text/javascript">
    try {
      ace.settings.check('sidebar', 'collapsed')
    } catch (e) {
    }
  </script>
</div>